﻿<div class="container">
	<div class="text-center">
		<h6>所有项目的工时总和为: <span class="text-danger">{{hours}}</span> </h6>
		<div style="width:100%;height:1px;background-color:#ccc;margin:15 0;"  ></div>
	</div>
	<form>
		<table class="table table-bordered" style="table-layout: fixed;">
			<tr style="background-color: rgb(27, 149, 207); color: #fff;">
				<th class="text-center"><small>我的员工</small></th>
				<th class="text-center"><small>班次</small></th>
				<th class="text-center"><small>工时</small></th>
			</tr>
			<tr ng-repeat="item in todostaffs">
				<th class="text-center" style="cursor:pointer;"  data-ng-click="change1($index)">
					<h6><i class="fa fa-6x fa-fw"  ng-class="{true: 'fa-check-square-o', false: 'fa-square-o'}[item.checked==true]"></i>
					<span data-ng-bind-template="{{item.Name}}"></span></h6>
				</th>
				<th class="text-center"><select class="form-control tablecell-input" data-ng-model="item.WorkType" data-ng-options="str for str in options"></select></th>
				<th class="text-center"><input ng-disabled="!item.checked" data-ng-change="change2($index)" class="form-control tablecell-input" type="number" step="any" data-ng-model="item.Hours" min="0" max="{{hours}}"></th>
			</tr>
		</table>
		<div class="row">
			<div class="col-xs-offset-9 col-xs-3">
					<a  data-ng-click="nextStep()" href="" class="btn btn-primary btn-block">完成</a>
			</div>
		</div>
		
	</form>
</div>